package com.education.dao;

import com.education.pojo.Subject;
import org.apache.ibatis.annotations.Param;

public interface SubjectMapper {
    int deleteByPrimaryKey(Integer sId);

    int insert(Subject record);

    int insertSelective(Subject record);

    Subject selectByPrimaryKey(Integer sId);
   //查询科目的id
    Subject selectBySubjectName(@Param("sname") String sName);

    int updateByPrimaryKeySelective(Subject record);

    int updateByPrimaryKey(Subject record);
}